package com.mingte.manghe;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import java.lang.reflect.Array;
import java.util.Arrays;

@SpringBootApplication
public class MangheApplication{

	public static void main(String[] args) {
		ApplicationContext ctx = SpringApplication.run(MangheApplication.class, args);
		/*String[] beanDefinitionNames = ctx.getBeanDefinitionNames();
		Arrays.sort(beanDefinitionNames);
		for (String beanName:beanDefinitionNames) {
			System.out.println("自动配置bean======"+beanName);
		}*/

	}
}
